package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperConfigCar implements Serializable {
    private Integer id;

    /**
     * 车牌号码
     */
    private String plate;

    /**
     * 发动机号码
     */
    private String enginesNumber;

    /**
     * 汽车类型
     */
    private Integer carType;

    /**
     * 年检日期
     */
    private Date inspectionDate;

    /**
     * 月行驶里程
     */
    private Double monMileage;

    /**
     * 总行驶里程
     */
    private Double tolMileage;

    /**
     * 责任人
     */
    private String responsible;

    /**
     * 本月油耗
     */
    private Double monFuel;

    /**
     * 加油卡号码
     */
    private String fuelCard;

    /**
     * 运输证号码
     */
    private String transNum;

    /**
     * 运输证检查日期
     */
    private Date tinspectionDate;

    private Date indate;

    private Date modfTime;

    private Integer author;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 车牌号码
     */
    public String getPlate() {
        return plate;
    }

    /**
     * 车牌号码
     */
    public void setPlate(String plate) {
        this.plate = plate;
    }

    /**
     * 发动机号码
     */
    public String getEnginesNumber() {
        return enginesNumber;
    }

    /**
     * 发动机号码
     */
    public void setEnginesNumber(String enginesNumber) {
        this.enginesNumber = enginesNumber;
    }

    /**
     * 汽车类型
     */
    public Integer getCarType() {
        return carType;
    }

    /**
     * 汽车类型
     */
    public void setCarType(Integer carType) {
        this.carType = carType;
    }

    /**
     * 年检日期
     */
    public Date getInspectionDate() {
        return inspectionDate;
    }

    /**
     * 年检日期
     */
    public void setInspectionDate(Date inspectionDate) {
        this.inspectionDate = inspectionDate;
    }

    /**
     * 月行驶里程
     */
    public Double getMonMileage() {
        return monMileage;
    }

    /**
     * 月行驶里程
     */
    public void setMonMileage(Double monMileage) {
        this.monMileage = monMileage;
    }

    /**
     * 总行驶里程
     */
    public Double getTolMileage() {
        return tolMileage;
    }

    /**
     * 总行驶里程
     */
    public void setTolMileage(Double tolMileage) {
        this.tolMileage = tolMileage;
    }

    /**
     * 责任人
     */
    public String getResponsible() {
        return responsible;
    }

    /**
     * 责任人
     */
    public void setResponsible(String responsible) {
        this.responsible = responsible;
    }

    /**
     * 本月油耗
     */
    public Double getMonFuel() {
        return monFuel;
    }

    /**
     * 本月油耗
     */
    public void setMonFuel(Double monFuel) {
        this.monFuel = monFuel;
    }

    /**
     * 加油卡号码
     */
    public String getFuelCard() {
        return fuelCard;
    }

    /**
     * 加油卡号码
     */
    public void setFuelCard(String fuelCard) {
        this.fuelCard = fuelCard;
    }

    /**
     * 运输证号码
     */
    public String getTransNum() {
        return transNum;
    }

    /**
     * 运输证号码
     */
    public void setTransNum(String transNum) {
        this.transNum = transNum;
    }

    /**
     * 运输证检查日期
     */
    public Date getTinspectionDate() {
        return tinspectionDate;
    }

    /**
     * 运输证检查日期
     */
    public void setTinspectionDate(Date tinspectionDate) {
        this.tinspectionDate = tinspectionDate;
    }

    public Date getIndate() {
        return indate;
    }

    public void setIndate(Date indate) {
        this.indate = indate;
    }

    public Date getModfTime() {
        return modfTime;
    }

    public void setModfTime(Date modfTime) {
        this.modfTime = modfTime;
    }

    public Integer getAuthor() {
        return author;
    }

    public void setAuthor(Integer author) {
        this.author = author;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", plate=").append(plate);
        sb.append(", enginesNumber=").append(enginesNumber);
        sb.append(", carType=").append(carType);
        sb.append(", inspectionDate=").append(inspectionDate);
        sb.append(", monMileage=").append(monMileage);
        sb.append(", tolMileage=").append(tolMileage);
        sb.append(", responsible=").append(responsible);
        sb.append(", monFuel=").append(monFuel);
        sb.append(", fuelCard=").append(fuelCard);
        sb.append(", transNum=").append(transNum);
        sb.append(", tinspectionDate=").append(tinspectionDate);
        sb.append(", indate=").append(indate);
        sb.append(", modfTime=").append(modfTime);
        sb.append(", author=").append(author);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperConfigCar other = (SuperConfigCar) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getPlate() == null ? other.getPlate() == null : this.getPlate().equals(other.getPlate()))
            && (this.getEnginesNumber() == null ? other.getEnginesNumber() == null : this.getEnginesNumber().equals(other.getEnginesNumber()))
            && (this.getCarType() == null ? other.getCarType() == null : this.getCarType().equals(other.getCarType()))
            && (this.getInspectionDate() == null ? other.getInspectionDate() == null : this.getInspectionDate().equals(other.getInspectionDate()))
            && (this.getMonMileage() == null ? other.getMonMileage() == null : this.getMonMileage().equals(other.getMonMileage()))
            && (this.getTolMileage() == null ? other.getTolMileage() == null : this.getTolMileage().equals(other.getTolMileage()))
            && (this.getResponsible() == null ? other.getResponsible() == null : this.getResponsible().equals(other.getResponsible()))
            && (this.getMonFuel() == null ? other.getMonFuel() == null : this.getMonFuel().equals(other.getMonFuel()))
            && (this.getFuelCard() == null ? other.getFuelCard() == null : this.getFuelCard().equals(other.getFuelCard()))
            && (this.getTransNum() == null ? other.getTransNum() == null : this.getTransNum().equals(other.getTransNum()))
            && (this.getTinspectionDate() == null ? other.getTinspectionDate() == null : this.getTinspectionDate().equals(other.getTinspectionDate()))
            && (this.getIndate() == null ? other.getIndate() == null : this.getIndate().equals(other.getIndate()))
            && (this.getModfTime() == null ? other.getModfTime() == null : this.getModfTime().equals(other.getModfTime()))
            && (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getPlate() == null) ? 0 : getPlate().hashCode());
        result = prime * result + ((getEnginesNumber() == null) ? 0 : getEnginesNumber().hashCode());
        result = prime * result + ((getCarType() == null) ? 0 : getCarType().hashCode());
        result = prime * result + ((getInspectionDate() == null) ? 0 : getInspectionDate().hashCode());
        result = prime * result + ((getMonMileage() == null) ? 0 : getMonMileage().hashCode());
        result = prime * result + ((getTolMileage() == null) ? 0 : getTolMileage().hashCode());
        result = prime * result + ((getResponsible() == null) ? 0 : getResponsible().hashCode());
        result = prime * result + ((getMonFuel() == null) ? 0 : getMonFuel().hashCode());
        result = prime * result + ((getFuelCard() == null) ? 0 : getFuelCard().hashCode());
        result = prime * result + ((getTransNum() == null) ? 0 : getTransNum().hashCode());
        result = prime * result + ((getTinspectionDate() == null) ? 0 : getTinspectionDate().hashCode());
        result = prime * result + ((getIndate() == null) ? 0 : getIndate().hashCode());
        result = prime * result + ((getModfTime() == null) ? 0 : getModfTime().hashCode());
        result = prime * result + ((getAuthor() == null) ? 0 : getAuthor().hashCode());
        return result;
    }
}